package Student;

public class Test {
    public static void main(String[] args) {
       pupil stu1= new pupil();
       graduate stu2=new graduate();
       stu1.name="xingxing";
       stu1.age=8;
       stu1.setScore(88.8);
       stu2.name="anan";
       stu2.age=19;
       stu2.setScore(99.9);
       stu1.showinfo();
       stu1.info();
        System.out.println("======我是分界线==========");
       stu2.showinfo();
       stu2.info();

    }
}
